package com.qf.entity;

import java.math.BigDecimal;

/**
 * @Author AzureSky_X
 * @Date 2020/11/18 17:12
 * @Version 1.0
 */
public class GoodCar {
    private Integer id;
    //商品id
    private Integer goodId;
    private Good good;
    //商品数量
    private Integer goodNum;
    //商品的小计
    private BigDecimal goodSum;
    private Integer uid;

    @Override
    public String toString() {
        return "GoodCar{" +
                "id=" + id +
                ", goodId=" + goodId +
                ", good=" + good +
                ", goodNum=" + goodNum +
                ", goodSum=" + goodSum +
                ", uid=" + uid +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodId() {
        return goodId;
    }

    public void setGoodId(Integer goodId) {
        this.goodId = goodId;
    }

    public Good getGood() {
        return good;
    }

    public void setGood(Good good) {
        this.good = good;
    }

    public Integer getGoodNum() {
        return goodNum;
    }

    public void setGoodNum(Integer goodNum) {
        this.goodNum = goodNum;
    }

    public BigDecimal getGoodSum() {
        return goodSum;
    }

    public void setGoodSum(BigDecimal goodSum) {
        this.goodSum = goodSum;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public GoodCar() {
    }
}
